package com.essgle.bean;

import java.util.Date;

public class Account {
    private Integer id;

    private Date gmtCreate;

    private String nickname;

    private String phone;

    private Integer workerStatus;

    public Account(Integer id, Date gmtCreate, String nickname, String phone, Integer workerStatus) {
        this.id = id;
        this.gmtCreate = gmtCreate;
        this.nickname = nickname;
        this.phone = phone;
        this.workerStatus = workerStatus;
    }

    public Account() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getWorkerStatus() {
        return workerStatus;
    }

    public void setWorkerStatus(Integer workerStatus) {
        this.workerStatus = workerStatus;
    }
}